package com.bestcem.xm.txtanls.service.dto.topic;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/5/21 15:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TopicGroupDTO {
    /**
     * 话题组id
     */
    @JsonProperty(value = "topic_id")
    private String id;

    /**
     * 话题组名
     */
    @JsonProperty(value = "name")

    private String name;

    @JsonProperty(value = "num")
    private Integer total;

    /**
     * 话题信息
     */
    @JsonProperty(value = "data")
    private List<TopicDTO> topicDTOs;

}
